package com.yohann.designPattern.command;

/**
 * <p>
 * 接收者
 * </p>
 *
 * @author Yohann
 * @since 2021/2/11 16:31
 */
public class LightReceiver {
    public void on() {
        System.out.println("light on");
    }

    public void off() {
        System.out.println("light off");
    }
}